import Terminal from './terminal/index.vue'
import Builder from './builder/index.vue'
import TerminalSource from './terminal/source.vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const components: any = { Terminal, Builder, TerminalSource }
export default {
  install(app: any) {
    Object.keys(components).forEach((key: string) => {
      app.component(key, components[key])
    })

    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component)
    }
  },
}
